<?php

class Syntaxhighlighter
{
    public function getBrush($language)
    {
        $brushes = array('js' => 'brush: js',
                         'php' => 'brush: php',
                         'xml' => 'brush: xml',
                         'plain' => 'brush: plain');
        if (isset($brushes[$language])) {
            return $brushes[$language];
        }
        else {
            return $brushes['plain'];
        }
    }
}